<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/02
 * Time: 16:31
 */

namespace app\admin\validate;

use think\Validate;

class Parameter extends Validate
{
    protected $rule = [
        'voteTitle' => 'require',
//        'keyWord' => 'require',
//        'voteDesc' => 'require',
//        'backMusic' => 'require',
//        'topNum' => 'require',
        'virtualNum' => 'require',
        'virtualPerson' => 'require'
    ];
    protected $message = [
        'voteTitle.require' => '请输入活动标题',
//        'keyWord.require' => '请输入关键词',
//        'voteDesc.require' => '请输入活动介绍',
//        'backMusic.require' => '请选择状态',
//        'topNum.require' => '请输入排行榜单',
        'virtualNum.require' => '请输入虚拟浏览量',
        'virtualPerson.require' => '请输入虚拟参与量'
    ];
}